<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <meta name="viewport" content="width=device-width, initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <title>{:getStoreName($_GET['local_id'])}-商品搜索</title>
    <link rel="stylesheet" href="__PUBLIC__/Home/css/search.css">
    <include file="Public/common_js"/>
</head>
<body>
<div class="warp">
    <div class="search">
        <div class="search-bar">
            <form action="{:U('',['local_id'=>$_GET['local_id'] ?: 1], '')}" method="get" onSubmit="return checkSearch();">
                <a href="javascript:void(0)" onclick="window.history.back();" class="back">取消</a>
                <p class="input-box">
                    <input type="search" placeholder="请输入商品名称" name="keywords" value="{$keywords}">
                    <a href="javascript:void(0);" class="value-delete"></a>
                </p>
            </form>
        </div>
        <div class="search-result">
            <div class="result-sort">
                <a href="javascript:void(0);" id="saleSort">销量</a>
                <a href="javascript:void(0);" id="priceSort">价格</a>
                <a href="javascript:void(0);" id="commentSort">评价</a>
            </div>
            <div class="result-list">
                <ul></ul>
            </div>
        </div>
        <div class="empty-box">
            <img src="__PUBLIC__/Home/images/iconEmpty.png" alt="">
            <p>没有找到您要的商品</p>
        </div>
    </div>
</div>
<include file ="Public/subclass_menu"/>
<script type="text/javascript">
    var _setId = <if condition="$_GET['hotKey'] eq ''">''<else />{$_GET['hotKey']}</if>;
    var _localId = <if condition="$_GET['local_id'] eq ''">'1'<else />{$_GET['local_id']}</if>;
	require(['searchList','subClassMain']);
</script>
</body>
</html>